package com.xuecheng.content.feignclient;

import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;

@Component//不能少
public class MediaServiceClientFallback implements MediaServiceClient{//要实现相关远程调用接口
    @Override
    public String upload(MultipartFile filedata, String objectName) {
//        但是无法拿到相关异常的类
        return null;
    }
}
